module.exports = {
	SUCCESS: {
		DEFAULT: 1,
	},

	TOPTIPS: {
		DEFAULT: 0,
		SUCCESS: 1,
		ERROR: 2,
		WARN: 3
	},

	ERROR: {
		DEFAULT: 0,
		NOT_LOGIN: 401,
		LOGIN_REPEAT: 402,
		NO_PERMISSION: 403,
		NOT_FOUND: 404,
		SYSTEM_ERROR: 500
	},

	ERROR_MSG: {
		ERROR_NETWORK: '网络异常',
		NOT_LOGIN: '请登陆',
		LOGIN_REPEAT: '您的账号在其他终端登录',
		NO_PERMISSION: '无权限',
		NOT_FOUND: '数据不存在',
		SYSTEM_ERROR: '系统异常',
		UNKNOW_ERROR: '未知错误'
	},

	SYSTEM: {
		LOG_LEVEL_ERROR: 1,
		LOG_LEVEL_WARN: 2,
		LOG_LEVEL_INFO: 3,
		LOG_LEVEL_TRACE: 4,
		LOG_LEVEL_DEBUG: 5
	},

	DATA: {
		KEY_TOKEN: 'DR.COMPANY.TOKEN',
		KEY_MEMBER: 'DR.COMPANY.MEMBER',
		KEY_SUBSCRIBE_CODE: 'DR.COMPANY.SUBSCRIBE.CODE',
		KEY_AUTH: 'DR.COMPANY.AUTH',
	}
};
